How do I prevent tampering with AJAX process page? [closed]
Posted
by
whamsicore
on Pro Webmasters
See other posts from Pro Webmasters
or by whamsicore
Published on 2011-01-31T00:57:47Z
Indexed on
2011/01/31
7:33 UTC
Read the original article
Hit count: 407
I am using Ajax for processing with JQUERY. The Data_string is sent to my process.php page, where it is saved.
Issue: right now anyone can directly type example.com/process.php to access my process page, or type example.com/process.php/var1=foo1&var2=foo2 to emulate a form submission. How do I prevent this from happening?
Also, in the Ajax code I specified POST. What is the difference here between POST and GET?
© Pro Webmasters or respective owner